* {
    margin: 0;
    padding: 0;
}

.headers {
    display: flex;
    align-items: center;
    padding: 0 24px;
    height: 48px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .05);
}

.logo {
    margin-right: 20px; /* 控制logo与菜单间距 */
}

.headers .logo img {
    display: block;
    width: 80px;
    min-width: 80px;
    height: 44px;
}

.menu {
    display: flex;
    gap: 12px; /* 菜单项间距 */
    padding-left: 0;
    margin: 0;
    height: 100%;
}

.menu li {
    position: relative;
    list-style: none;
    font-size: 14px;
    line-height: 48px;
}

.right {
    margin-left: auto; /* 将右侧功能推到最右 */
}

.menu li a {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
    padding-right: 2px;
}

.right .function {
    height: auto;
    font-size: 14px;
    display: inline-block;
}

.right .function a {
    padding-right: 3px;
    display: block;
    text-decoration: none;
    color: inherit;
}